package com.woniu.dao;

import com.woniu.entity.RbacRole;

import java.util.List;
import java.util.Set;

/**
 * @author WenXin
 * @version 1.0
 * @description: TODO
 * @date 2022/9/3 9:55
 */
public interface RbacRoleDao {
    List<RbacRole> findAll();

    int addOne(RbacRole rbacRole);

    int deleteById(int id);

    int update(RbacRole rbacRole);

    List<RbacRole> searchByRole(RbacRole rbacRole);

    Set<String> findOneByUserName(String username);
}
